package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ManagerRoom;
import com.woniuxy.common.entity.ManagerRoomExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManagerRoomMapper {
    long countByExample(ManagerRoomExample example);

    int deleteByExample(ManagerRoomExample example);

    int deleteByPrimaryKey(String roomId);

    int insert(ManagerRoom record);

    int insertSelective(ManagerRoom record);

    List<ManagerRoom> selectByExample(ManagerRoomExample example);

    ManagerRoom selectByPrimaryKey(String roomId);

    int updateByExampleSelective(@Param("record") ManagerRoom record, @Param("example") ManagerRoomExample example);

    int updateByExample(@Param("record") ManagerRoom record, @Param("example") ManagerRoomExample example);

    int updateByPrimaryKeySelective(ManagerRoom record);

    int updateByPrimaryKey(ManagerRoom record);
}